package com.vt.admin.api.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 兼容一期的城市控件
 *
 * @Auther: panZha
 * @Date: 2018/11/21 17:26
 * @Description:
 */
@Data
public class CityTreeNodeOld {

    private String pId;

    private String pName;

    private List<CityNode> children = new ArrayList();

    @Data
    public static class CityNode {
        private String id;

        private String name;

        @JsonIgnore
        private String provinceId;
    }
}
